package chamber.timebomb;

/**
 * Created by Gerardo on 1/15/14.
 */
public class TimeBomb extends Thread {
    String[] countdown = {"Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"};

    @Override
    public void run() {
        for (int i = 9; i > 0; --i) {
            try {
                System.out.println(countdown[i]);
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
